<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<base href="<%=basePath%>" />
<link href="background/css/main.css" rel="stylesheet" type="text/css" />
<script src="background/js/calendar3.js" type="text/javascript"></script>
</head>

<body>
	<s:form method="post" action="addActivity.action">
		<tr>
			<td colspan="2" class="header">
				<s:text name="header" />
			</td>
		</tr>
		<s:textfield name="activity.aname" key="name" required="true" cssStyle="width:80%" />
		<s:textfield id="createtime" name="btime" onclick="new Calendar().show(this);" readonly="true" key="btime" required="true"/>
		<s:textfield id="createtime" name="ftime" onclick="new Calendar().show(this);" readonly="true" key="ftime" required="true" />
		<tr>
	    	<td colspan="2" class="button">
	    		<s:reset key="reset" theme="simple" />
	    		<s:submit key="submit" theme="simple" />
	    	</td>
		</tr>
	</s:form>
</body>
</html>